package com.colin.aiyi.entity;

import java.util.List;

/**
 * Created by hl on 2017/6/5.
 */

public class YiMing {

    /**
     * code : 200
     * data : {"updatedTime":1495702989000,"urls":[{"updatedTime":1495700308000,"deleted":false,"audioId":1,"createdTime":1495700305000,"id":1,"url":"1"},{"updatedTime":1495700325000,"deleted":false,"audioId":1,"createdTime":1495700322000,"id":2,"url":"2"}],"deleted":false,"roleId":3,"roleName":"创作人","createdTime":1495700286000,"id":1,"userId":1,"content":"1"}
     */

    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * updatedTime : 1495702989000
         * urls : [{"updatedTime":1495700308000,"deleted":false,"audioId":1,"createdTime":1495700305000,"id":1,"url":"1"},{"updatedTime":1495700325000,"deleted":false,"audioId":1,"createdTime":1495700322000,"id":2,"url":"2"}]
         * deleted : false
         * roleId : 3
         * roleName : 创作人
         * createdTime : 1495700286000
         * id : 1
         * userId : 1
         * content : 1
         */

        private long updatedTime;
        private boolean deleted;
        private int roleId;
        private String roleName;
        private long createdTime;
        private int id;
        private int userId;
        private String content;
        private List<UrlsBean> urls;

        public long getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(long updatedTime) {
            this.updatedTime = updatedTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public long getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(long createdTime) {
            this.createdTime = createdTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public List<UrlsBean> getUrls() {
            return urls;
        }

        public void setUrls(List<UrlsBean> urls) {
            this.urls = urls;
        }

        public static class UrlsBean {
            /**
             * updatedTime : 1495700308000
             * deleted : false
             * audioId : 1
             * createdTime : 1495700305000
             * id : 1
             * url : 1
             */

            private long updatedTime;
            private boolean deleted;
            private int audioId;
            private long createdTime;
            private int id;
            private String url;

            public long getUpdatedTime() {
                return updatedTime;
            }

            public void setUpdatedTime(long updatedTime) {
                this.updatedTime = updatedTime;
            }

            public boolean isDeleted() {
                return deleted;
            }

            public void setDeleted(boolean deleted) {
                this.deleted = deleted;
            }

            public int getAudioId() {
                return audioId;
            }

            public void setAudioId(int audioId) {
                this.audioId = audioId;
            }

            public long getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(long createdTime) {
                this.createdTime = createdTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
